/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javamail.sip.util;

import javamail.web.util.*;

/**
 *
 * @author sriram
 */
public enum eSipParseState {
    START(0),
    REQUEST(1),
    STATUS(2),
    HEADER(3),
    BODY(4),
    COMPLETE(5),
    ERROR(6);
    private final int index;
    
    eSipParseState(int index) {
        this.index = index;
    }
    
    public int toInt() {
        return index;
    }
 

}
